kylebebak / Requester

Powerful, modern HTTP/REST client built on top of the Requests library
https://kylebebak.github.io/Requester/
MIT License
307 stars 10 forks source link

Support RAW Http Requests #35

Closed TerminalFi closed 2 years ago

TerminalFi commented 3 years ago

What

Supporting a raw function to pass RAW HTTP requests into.

raw('''
GET /api/endpoint HTTP1.1
Host: trmnl.io
Cookie: xyz:123
''')
kylebebak commented 2 years ago

This would require writing a new parser. The new parser would be a lot more complex than the existing one, whose syntax is almost identical to the requests API. In other words, this would be a huge undertaking and is not in scope for the plugin