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
I tried response interceptor as per your test method. But it only returns 200 status code. and doesn't change response content.
Also, I saw proxy server change at https://github.com/lightbody/browsermob-proxy project.
are you planning to update your project with littleproxy instead or Jetty?
This project is just a client library to speak to the https://github.com/lightbody/browsermob-proxy java proxy. If you are getting a status code that doesnt match what you want then I suggest raising a bug there.
I tried response interceptor as per your test method. But it only returns 200 status code. and doesn't change response content.
Also, I saw proxy server change at https://github.com/lightbody/browsermob-proxy project.
are you planning to update your project with littleproxy instead or Jetty?
def test_response_interceptor_with_parsing_js(self):
"""
/proxy/:port/interceptor/response
"""
js = 'alert("foo")'
status_code = self.client.response_interceptor(js)
assert(status_code == 200)
The text was updated successfully, but these errors were encountered: