Skip to content

feature: Add Http Scheme to Context #397

Description

@davidhadas

Feature Description

Context now include:

type Context struct {
	Direction Direction
	Method    string
	Host      string
	Path      string
	Headers   http.Header
	Body      []byte 
    ...
} 

Proposed Solution

Add Scheme to the Context:

type Context struct {
	Direction Direction
	Method    string
         Scheme  string           // "http" or "https"
         Host      string
	Path      string
	Headers   http.Header
	Body      []byte 
    ...
} 

Want to contribute?

  • I would like to work on this issue.

Additional Context

Allow plugins know the request scheme

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions