Here is an attempt and failed with below message. Tried to add a header
"Content-Type:application/octet-stream" and saw the first Content-Type
changed but result same error.
1542119404.068 1001 10.40.25.49 ERR_INVALID_REQ/400 539 PUSH
http://ceph-rgw/path_to/data_file - NONE/- text/html
$ curl -v -s -x cache01:8080 -X PUSH --data-binary @/path_to/data_file
http://ceph-rgw/path_to/data_file
> PUSH http://ceph-rgw/path_to/data_file HTTP/1.1
> User-Agent: curl/7.29.0
> Host: ceph-rgw
> Accept: */*
> Proxy-Connection: Keep-Alive
> Content-Length: 584651892
> Content-Type: application/x-www-form-urlencoded
> Expect: 100-continue
>
* Done waiting for 100-continue
< HTTP/1.1 400 Malformed Pushed Response Header
< Date: Tue, 13 Nov 2018 14:38:29 GMT
* HTTP/1.1 proxy connection set close!
< Proxy-Connection: close
< Via: http/1.1 cache01 (ApacheTrafficServer/8.0.0 [uEc s f p eH:t cC p s ])
< Server: ATS/8.0.0
< Cache-Control: no-store
< Content-Type: text/html
< Content-Language: en
< Content-Length: 207
<
<HTML>
<HEAD>
<TITLE>Error</TITLE>
</HEAD>
<BODY BGCOLOR="white" FGCOLOR="black">
Error
<HR>
Description: Could not process this request.
<HR>
</BODY>
* we are done reading and this is set to close, stop send
* Closing connection 0
Thank you.
Jin.
--
Sent from: http://apache-traffic-server.24303.n7.nabble.com/
|