You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. override #incomingRequest: aRequest
2. intercept the very first request
3. redirect it to some arbitrary url
What is the expected output?
the destination page
What do you see instead?
the internal error
What version of the product are you using?
2.8a1-lr.541
On what operating system?
Please provide any additional information below.
I've patched it with:
WASession>>redirectTo: anUrl
^ self returnResponse: (self redirectResponseFor: anUrl)
WASession>> returnResponse: aResponse
"aborts all further processing and directly returns aResponse
aResponse instance of WAResponse"
^ escapeContinuation notNil
ifTrue:[escapeContinuation value: aResponse]
ifFalse: [aResponse]
Original issue reported on code.google.com by [email protected] on 18 Apr 2008 at 12:42
The text was updated successfully, but these errors were encountered:
The proper place to hook into WASession for the first request would be by
overriding
#start:. If you want all requests, you could override #performRequest: instead.
If you really want to override #incomingRequest: for some reason, you should
just
return a response rather than using #returnResponse: or something that calls it.
Original issue reported on code.google.com by
[email protected]
on 18 Apr 2008 at 12:42The text was updated successfully, but these errors were encountered: