-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
Add a way to unset server parameters in BrowserKit\Client #20306
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
Comments
I think I would prefer a more idiomatic way to submit a form via Ajax instead like having a specific method to switch to an "Ajax mode" for the very next request. |
@fabpot I agree. It was just a use case example. I'm sure there will be other use cases for |
But we never add a feature without use cases. So, let's fix the one we have now instead of adding a generic |
Okay, why do we have I mean |
I don't understand why we should have |
@fabpot So can we change this feature into adding a method that allow people to switch to an ajax mode like you said ? |
Yes |
…st (Simperfit) This PR was merged into the 4.1-dev branch. Discussion ---------- [BrowserKit] add a way to switch to ajax for one request | Q | A | ------------- | --- | Branch? | 4.1 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #20306 | License | MIT | Doc PR | will do Follow the work on #20306. /cc @fabpot is it the right implementation ? Commits ------- a10eae7 [BrowserKit] add a way to switch to ajax for one request
Uh oh!
There was an error while loading. Please reload this page.
I think the title is self-explanatory. E.g. this method would be useful if it existed:
The request is different if I use
setServerParameter($key, null)
, so not the same thing.See this Stack Overflow answer for a use case.
The text was updated successfully, but these errors were encountered: