HTTP/1.1 404 Not Found but status says 100% file transferred

Rakshith nginx-forum at nginx.us
Tue Aug 6 10:01:19 UTC 2013


Hi,

I am trying to do a PUT via CURL and below is a glimpse of the request:

[root at flex-c1 ~]#  curl -o /dev/null -w "Connect:%{time_connect}\nTransfer
Start:%{time_starttransfer}\nTotal Time:%{time_total}\n" -X PUT
--data-binary @output.dat -qvk http://x.x.x.x:80/nginx/output.dat

* Connected to x.x.x.x port 80
> PUT /nginx/output.dat HTTP/1.1
> User-Agent: curl/7.15.5 (x86_64-redhat-linux-gnu) libcurl/7.15.5
OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
> Host: x.x.x.x
> Accept: */*
> Content-Length: 1073741824
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
  % Total    % Received % Xferd  Average Speed   Time    Time     Time 
Current
                                 Dload  Upload   Total   Spent    Left 
Speed
 97 1024M    0     0   97  997M      0  30.0M  0:00:34  0:00:33  0:00:01
29.9M
< HTTP/1.1 404 Not Found  <<<<<
< Date: Tue, 06 Aug 2013 09:33:42 GMT
< Server: Apache
< Content-Length: 219
< Content-Type: text/html; charset=iso-8859-1
100 1024M  100   219  100 1024M      6  29.9M  0:00:36  0:00:34  0:00:02
29.6M
* Connection #0 to host x.x.x.x left intact

Connect:0.028
Transfer Start:2.027
Total Time:34.160
* Closing connection #0


It says it transferred 100% but then the error says 404 not found.. Wanted
to know what the problem is here.

And the file did not make it through to the destination. I cross checked
it.


Any help on this would be really great.

Thanks,
Rakshith

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,241631,241631#msg-241631



More information about the nginx mailing list