iPXE
http.c File Reference

Hyper Text Transfer Protocol (HTTP) More...

#include <ipxe/open.h>
#include <ipxe/http.h>
#include <ipxe/features.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 FILE_SECBOOT (PERMITTED)
 FEATURE (FEATURE_PROTOCOL, "HTTP", DHCP_EB_FEATURE_HTTP, 1)

Variables

struct uri_opener http_uri_opener __uri_opener
 HTTP URI opener.
struct http_scheme http_scheme __http_scheme
 HTTP URI scheme.

Detailed Description

Hyper Text Transfer Protocol (HTTP)

Definition in file http.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL )

◆ FILE_SECBOOT()

FILE_SECBOOT ( PERMITTED )

◆ FEATURE()

FEATURE ( FEATURE_PROTOCOL ,
"HTTP" ,
DHCP_EB_FEATURE_HTTP ,
1  )

Variable Documentation

◆ __uri_opener

struct uri_opener http_uri_opener __uri_opener
Initial value:
= {
.scheme = "http",
.open = http_open_uri,
}
int http_open_uri(struct interface *xfer, struct uri *uri)
Open HTTP transaction for simple URI.
Definition httpcore.c:1984

HTTP URI opener.

Definition at line 41 of file http.c.

41 {
42 .scheme = "http",
43 .open = http_open_uri,
44};

◆ __http_scheme

struct http_scheme http_scheme __http_scheme
Initial value:
= {
.name = "http",
.port = HTTP_PORT,
}
#define HTTP_PORT
HTTP default port.
Definition http.h:35

HTTP URI scheme.

Definition at line 47 of file http.c.

47 {
48 .name = "http",
49 .port = HTTP_PORT,
50};