Add support to send whole file using "--data" argument #306
Replies: 2 comments 6 replies
-
If you examine http3_client.py you'll see that
However, I'm NOT convinced this is the actual cause of your problem. Are you sure your server expects a POST and not a PUT? |
Beta Was this translation helpful? Give feedback.
-
Thank you replying back. yes yes,my server excepts POST request and running http3_server.py from examples Even if i replace POST with PUT same thing is happening and will try to implement what you have said. once again Thank you for confirming |
Beta Was this translation helpful? Give feedback.
-
Hai,
I am trying to upload file using aioquic(using below command) and not able to get how to do
and instead getting file with data as "Method Not Allowed" while using below command
I didnt made any changes to http3_client.py or http3_server.py
(python3 /root/aioquic/examples/http3_client.py --ca-certs /root/aioquic/tests/pycacert.pem -v https://1.2.3.4:4433/new.pdf --output-dir /tmp/ --data new.pdf)
Do i need to place the file which i wanted to upload under any speific folder like /aioquic/examples/
Could anyone please help me to send file using aioquic http3_client.py "--data" argument.
Looking forward for reply
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions