You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafficserver.apache.org by zw...@apache.org on 2021/09/15 21:00:13 UTC

[trafficserver] branch 9.1.x updated: doc: Fixes curl syntax for PUSH example (#8315)

This is an automated email from the ASF dual-hosted git repository.

zwoop pushed a commit to branch 9.1.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git


The following commit(s) were added to refs/heads/9.1.x by this push:
     new 18b1983  doc: Fixes curl syntax for PUSH example (#8315)
18b1983 is described below

commit 18b19831d0b804f6e15e461ced2c33307c8811f5
Author: Randall Meyer <rr...@apache.org>
AuthorDate: Thu Sep 9 15:56:04 2021 -0700

    doc: Fixes curl syntax for PUSH example (#8315)
    
    (cherry picked from commit c68e0313dd2ec1664bdc31cd488ac153a76c388c)
---
 doc/admin-guide/storage/index.en.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/admin-guide/storage/index.en.rst b/doc/admin-guide/storage/index.en.rst
index 68bcd81..0cd593a 100644
--- a/doc/admin-guide/storage/index.en.rst
+++ b/doc/admin-guide/storage/index.en.rst
@@ -337,7 +337,7 @@ To push an object, first save the object headers and body into a file. For insta
 
 Then, to push the object, post the object using the PUSH method: ::
 
-      $ curl -x -s -o /dev/null -X PUSH --data-binary /path/to/file "http://example.com/push_me.html"
+      $ curl -s -o /dev/null -X PUSH --data-binary @/path/to/file "http://example.com/push_me.html"
 
 .. _inspecting-the-cache: