Comments (9)
hi
if there is POST data included, what would you expect to happen? should the request include the POST data or not?
this would probably be the easiest to implement in Response Headers.
also, this would still forward the request after the request is done, IIRC from twitter you also wanted to cancel the request. would you like to be able to cancel the request at the end? (it's still possible, although different)
from tamperchrome.
Yes it should include all data. I want request cancelled completely because I already have the details of request i want to make and can do it myself.
from tamperchrome.
ok, thanks. cancelling the request then is a bit more complicated, but doable.
from tamperchrome.
not urgent for me anymore: figured out how to trivially do it with cancel: true and retrieve entire request data in my own extension.
from tamperchrome.
cool! were you able to cancel the request after the request headers are committed?
According to the docs onSendHeaders is not allowed to cancel the request, which means that you probably need to get a hold of the request id and then fetch the request data with devtools.network?
Or how did you do it?
from tamperchrome.
I get the body in onBeforeRequest and save it for its requestId, then inside onBeforeSendHeaders I can see headers and cancel it. I don't use onSendHeaders as I am not interested in how headers could be modified by some extensions.
from tamperchrome.
Oh, OK. OnBeforeRequest doesn't have the full request body, but I guess it's sufficient for your use case :-)
from tamperchrome.
I'll keep track of this feature request on #18 as part of the UI simplicification efforts.
from tamperchrome.
can you elaborate about not full body? is it chopped at some point? Most requests I care about are under 10000 chars
from tamperchrome.
Related Issues (20)
- Display address in hex editor
- Add buttons for reading/writing bodies to/from files
- Fix iframe permission errors HOT 1
- Allow to replay sent requests HOT 1
- Add filters that allow more than one option
- Add filters for ResourceType HOT 1
- Changing HTTP Response code does not work HOT 19
- Failed to attach when using Avira Password Manager extension HOT 15
- Let user reload page due to permission errors HOT 1
- The body of the HTTP Response has an encoding error. The text is Chinese. HOT 1
- Failed to launch Tamper HOT 4
- Unable to Intercept Youtube HOT 3
- V2 好After modifying the response body, it is invalid after clicking allow
- Tamper Chrome v2 close after reload HOT 10
- Chrome Store Reviews Report this as not working? HOT 1
- Failed to attach to https://chrome.google.com/webstore/detail/tamper-dev/mdemppnhjflbejfbnlddahjbpdbeejnn/related - probably because of enterprise policies.
- "invalid MIME part type" error when modifying sap odata batch responses
- Tameper HOT 1
- In Manifest v3
- No longer works on newer chrome builds
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tamperchrome.