ywkaras commented on a change in pull request #7262:
URL: https://github.com/apache/trafficserver/pull/7262#discussion_r508937535



##########
File path: tests/gold_tests/pluginTest/tsapi/tsapi.test.py
##########
@@ -71,7 +71,15 @@
 tr.Processes.Default.StartBefore(Test.Processes.ts)
 #
 tr.Processes.Default.Command = (
-    'curl --verbose --ipv4 --header "Host: mYhOsT.teSt:{0}" 
hTtP://loCalhOst:{1}/'.format(server.Variables.Port, ts.Variables.port)
+    r'printf "GET / HTTP/1.1\r\nHost: mYhOsT.teSt:{0}\r\n\r\n" | nc localhost 
{1}'.format(

Review comment:
       @bryancall what is your thinking about this? @d2r ?
   
   I have one test run with the scheme and host in the URL, and one with just 
the path in the URL (with the host in a host header and no explicit scheme).  
Have you seen how long the manpage for curl is?  Does it even say whether or 
not the scheme/host are in the request URL?  If I have to revisit this test 
case at some point in the future, I'd rather not have to have to dig into all 
the quirks of curl to understand it, given that there is a more 
straight-forward alternative.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to