Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DELETE request with body is not handled in httpHandler #24

Closed
touristt opened this issue Oct 6, 2021 · 2 comments
Closed

DELETE request with body is not handled in httpHandler #24

touristt opened this issue Oct 6, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@touristt
Copy link

touristt commented Oct 6, 2021

Describe the bug
I had initialized an HTTP Server Using the Start Server keyword and sent a DELETE request containing body to it, but seems like the server is not looking for request body from a DELETE request

def do_DELETE(self):
self.__default_handler('DELETE')

To Reproduce
Start an HTTP Server using START SERVER and Wait For Request for n seconds
Send a DELETE HTTP request containing the body to the server

Expected behavior
the request body from a DELETE request should be added to the request object

Screenshots
DELETE Request:
deleteReq

POST Request
postReq

Desktop (please complete the following information):

  • OS: OracleLinux
  • Python Version: 3.6.8
  • httpctrl Version: 0.1.8
@touristt touristt added the bug Something isn't working label Oct 6, 2021
@annoviko annoviko self-assigned this Oct 6, 2021
annoviko added a commit that referenced this issue Oct 6, 2021
@annoviko
Copy link
Owner

annoviko commented Oct 7, 2021

Hello @shyash ,

The issue has been fixed. Now it is possible to use body with all methods. Please, use version 0,1,10:

pip3 install robotframework-httpctrl

Let me know if encounter with any problems.

@annoviko annoviko closed this as completed Oct 8, 2021
@touristt
Copy link
Author

touristt commented Oct 8, 2021

I have tested with the 0.1.10 release, Thank you @annoviko for the quick fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants