mirror of
https://github.com/mirror/wget.git
synced 2025-01-22 10:10:27 +08:00
[svn] Fix generation of `Content-Length'.
This commit is contained in:
parent
2e2c816057
commit
4bbe443be3
@ -1,3 +1,7 @@
|
||||
2003-12-16 Hrvoje Niksic <hniksic@xemacs.org>
|
||||
|
||||
* http.c (gethttp): Fix generation of `Content-Length'.
|
||||
|
||||
2003-12-15 Gisle Vanem <giva@bgnett.no>
|
||||
|
||||
* url.c (url_skip_credentials): Fixed return value; 'url' if no
|
||||
|
@ -1253,8 +1253,7 @@ gethttp (struct url *u, struct http_stat *hs, int *dt, struct url *proxy)
|
||||
}
|
||||
}
|
||||
request_set_header (req, "Content-Length",
|
||||
aprintf ("Content-Length: %ld", post_data_size),
|
||||
rel_value);
|
||||
aprintf ("%ld", post_data_size), rel_value);
|
||||
}
|
||||
|
||||
/* Add the user headers. */
|
||||
|
Loading…
Reference in New Issue
Block a user