(url-http-parse-headers): Reset url-http-data to nil,
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Jan 2005 10:52:28 +0000 (10:52 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jan 2005 10:52:28 +0000 (10:52 +0000)
like for the 303 response.

lisp/url/url-http.el

index 2608a85963a5a5a605373279b43aa91093fed7d1..3a0fbf6ecd683dc522bfca26394ef223a97dc7f4 100644 (file)
@@ -459,7 +459,7 @@ should be shown to the user."
              (url-http-debug "Converting `%s' request to `GET' because of REDIRECT(%d)"
                              url-http-method url-http-response-status)
              (setq url-http-method "GET"
-                   url-request-data nil)))
+                   url-http-data nil)))
           (303
            ;; The response to the request can be found under a different
            ;; URI and SHOULD be retrieved using a GET method on that