Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ curl --request PROPFIND --insecure --dump-header head.txt --digest --user [email protected]:ABCDEFG https://www.mystore.com/dav/exports/products-2016-03-17.csv
- <?xml version="1.0" encoding="utf-8"?>
- <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
- <s:exception>Sabre\DAV\Exception\NotFound</s:exception>
- <s:message>File with name asset://file/ftp_root/exports/products-2016-03-17.csv could not be located</s:message>
- </d:error>
- $ cat head.txt
- HTTP/1.1 401 Unauthorized
- Server: nginx
- Date: Thu, 17 Mar 2016 03:45:27 GMT
- Content-Type: application/xml; charset=utf-8
- Transfer-Encoding: chunked
- Connection: keep-alive
- Set-Cookie: fornax_anonymousId=920a45aa-d71c-4a86-8fa2-85999b123456; expires=Tue, 13-Sep-2016 03:45:27 GMT; path=/; domain=.me.com
- WWW-Authenticate: Digest realm="BigCommerce",qop="auth",nonce="56ea285712345",opaque="df58bdff8cf60599c939187d0123456"
- HTTP/1.1 404 Not Found
- Server: nginx
- Date: Thu, 17 Mar 2016 03:45:27 GMT
- Content-Type: application/xml; charset=utf-8
- Transfer-Encoding: chunked
- Connection: keep-alive
- Vary: Accept-Encoding
- Set-Cookie: fornax_anonymousId=a32ec598-2569-402a-a712-651123456789; expires=Tue, 13-Sep-2016 03:45:27 GMT; path=/; domain=.me.com
- Vary: Brief,Prefer
- DAV: 1, 3, extended-mkcol, 2
- # NOTE: THE HEAD REQUEST BELOW RETURNS THE SAME RESULT
- $ curl --head --insecure --digest --user [email protected]:abcdef https://www.mystore.com/dav/exports/products-2016-03-17.csv
Advertisement
Add Comment
Please, Sign In to add comment