Thanks to visit codestin.com
Credit goes to github.com

Skip to content

AddRequestHeader not working #120

@anisbhsl

Description

@anisbhsl

I am trying to do basic auth using authorization header. However, during URL request surf is not attaching the header with the request. I did following:

browser.AddRequestHeader("Authorization","Basic "+base64encodedstring)
browser.Open(url)
browser.StatusCode() //throwing 401 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions