set-proxy-basic-auth ( request username password -- request )


Vocabulary
http

Inputs
requesta request
usernamea string
passworda string


Outputs
requesta request


Word description
Sets the Proxy-Authorization header of request to perform HTTP Basic authentication with the given username and password.

Notes
This word always returns the same object that was input. This allows for a “pipeline” coding style, where several header parameters are set in a row.

Side effects
Modifies request

Definition

: set-proxy-basic-auth
( request username password -- request )
basic-auth "Proxy-Authorization" set-header ;