Risposta di Jan
Replica dello sviluppatore
pubblicato il 8 anni faHi, thanks for taking the time to dig into this issue. Unfortunately it is by design and there is no way to fix it (that I know of).
RESTer is a browser extension and the browser provides two ways of sending HTTP requests:
1. XMLHttpRequest: This ignores any specified body and sets it to null when the method is GET or HEAD.
2. fetch: This throws a TypeError when you specifiy a body and the method is GET or HEAD.
Browsers have good reason to do so. While, according to the HTTP/1.1 spec, you are allowed to send a request body with a GET or HEAD request, the server is advised to ignore the body when handling the request. See here for a good explanation:
https://stackoverflow.com/a/983458/1798215
That said, if you have ideas on how to handle this better, please let me know. I am definitely open to suggestions. Post them on GitHub or send me an email:
https://github.com/frigus02/RESTer/issues
RESTer is a browser extension and the browser provides two ways of sending HTTP requests:
1. XMLHttpRequest: This ignores any specified body and sets it to null when the method is GET or HEAD.
2. fetch: This throws a TypeError when you specifiy a body and the method is GET or HEAD.
Browsers have good reason to do so. While, according to the HTTP/1.1 spec, you are allowed to send a request body with a GET or HEAD request, the server is advised to ignore the body when handling the request. See here for a good explanation:
https://stackoverflow.com/a/983458/1798215
That said, if you have ideas on how to handle this better, please let me know. I am definitely open to suggestions. Post them on GitHub or send me an email:
https://github.com/frigus02/RESTer/issues
106 recensioni
- Valutata 5 su 5di Seän "frostbyte" Shepherd, 2 mesi fa
- Valutata 5 su 5di Utente Firefox 19010092, 8 mesi fa
- Valutata 5 su 5di Utente Firefox 17436936, un anno fa
- Valutata 5 su 5di msajadi832, 2 anni fa
- Valutata 5 su 5di Utente Firefox 15313516, 2 anni fa
- Valutata 5 su 5di Utente Firefox 18253713, 2 anni fa
- Valutata 5 su 5di Utente Firefox 18115635, 2 anni fa
- Valutata 5 su 5di Miguel Conde, 3 anni fa
- Valutata 5 su 5di Utente Firefox 12924248, 3 anni fa
- Valutata 5 su 5di harl windwolf, 3 anni faExcellent add-on functionality, does exactly what I expected. Also, excellent description concerning its permissions, which provides the transparency that I'd wish to see with every add-on. Danke!
- Valutata 5 su 5di felipecontrerass, 3 anni fa
- Valutata 5 su 5di Utente Firefox 14678933, 3 anni fa
- Valutata 4 su 5di Utente Firefox 17505828, 3 anni faI cannot install the add-on in Firefox (v103, Win 10 64bit).
I am installing from add-ons in firefox but it says "Installation aborted because the add-on is corrupted" and "This add-on is not actively monitored for security by Mozilla. Make sure you trust it before installing it."
while it is strange that on win8 32bit installed without a problem (?)Replica dello sviluppatore
pubblicato il 3 anni faSorry for the late reply. I can't reproduce the issue, either. My best guess is that the file may got corrupted during download. Do you see the same issue after restarting Firefox? - Valutata 5 su 5di Utente Firefox 17444643, 4 anni fa
- Valutata 5 su 5di Mahdi Magroun, 4 anni fa
- Valutata 5 su 5di Utente Firefox 13329218, 4 anni fa