Skip to content

Commit

Permalink
feat: remove getRequestRawHeader
Browse files Browse the repository at this point in the history
  • Loading branch information
Hebilicious committed Jul 10, 2023
1 parent a6537b7 commit 99ece01
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/utils/request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ export function getRequestHeader(

export const getHeader = getRequestHeader;

export function getRequestRawHeader(event: H3Event, name: string) {
return event.node.req.headers[name];
}

export function getRequestHost(
event: H3Event,
opts: { xForwardedHost?: boolean } = {}
Expand Down

0 comments on commit 99ece01

Please sign in to comment.