Skip to content

Headers missing for requests passing though fakeServer #115

Description

@revathskumar

When using interceptor on pages which using cookie session, the non intercepted requests are not sending with cookies which causes request to respond back with 401.

Nise, won't allow to setHeader for each request when using the fakeServer. We need a xhr.onCreate callback to be exposed by fakeServer for this ability. ALso sinon has black listed headers as per the spec which includes Cookie.

I have raise a issue on sinonjs/nise#49

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions