Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PreFlight ¶
type PreFlight struct {
// contains filtered or unexported fields
}
func NewPreFlight ¶
NewPreFlight initializes a new CORS pre-flight scenario.
func (*PreFlight) PreFly ¶
PreFly will do the actual CORS pre-flight.
An options-request will be send to the target having origin as requester. The resolving response will be evaluated an results in the returned success state which will either be true (stating a successful pre-flight) or false stating an unsuccessful pre-flight.
Click to show internal directories.
Click to hide internal directories.