opengnsys_ipxe/src
Michael Brown 60531ff6e2 [http] Use POST method only if the form parameter list is non-empty
An attempt to use an existent but empty form parameter list will
currently result in an invalid POST request since the Content-Length
header will be missing.

Fix by using GET instead of POST if the form parameter list is empty.
This is a non-breaking change (since the current behaviour produces an
invalid request), and simplifies the imminent generalisation of the
parameter list concept to handle both header and form parameters.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2023-03-01 11:12:44 +00:00
..
arch [rng] Allow entropy source to be selected at runtime 2023-02-17 21:29:51 +00:00
bin
config [efi] Split out EFI_RNG_PROTOCOL as a separate entropy source 2023-02-20 14:53:10 +00:00
core [image] Check delimiters when parsing command-line key-value arguments 2023-02-14 11:13:45 +00:00
crypto [rng] Allow for entropy sources that fail during startup tests 2023-02-20 14:53:10 +00:00
doc [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
drivers [iscsi] Limit maximum transfer size to MaxBurstLength 2023-02-16 13:27:25 +00:00
hci [pci] Check for wraparound in callers of pci_find_next() 2022-09-15 15:20:58 +01:00
image [efi] Add efi_path_terminate() utility function 2023-01-23 19:27:11 +00:00
include [efi] Split out EFI_RNG_PROTOCOL as a separate entropy source 2023-02-20 14:53:10 +00:00
interface [efi] Omit EFI_LOAD_FILE2_PROTOCOL for a zero-length initrd 2023-02-28 12:30:54 +00:00
libgcc [libgcc] Change __divmoddi4 from int64 [unknown] to int64_t 2020-07-21 14:33:32 +01:00
net [http] Use POST method only if the form parameter list is non-empty 2023-03-01 11:12:44 +00:00
scripts [arm] Inhibit linker warnings about an implied executable stack 2023-01-23 12:55:44 +00:00
tests [rng] Allow for entropy sources that fail during startup tests 2023-02-20 14:53:10 +00:00
usr [pxe] Avoid drawing menu items on bottom row of screen 2023-01-23 20:30:59 +00:00
util [util] Add support for LoongArch64 binaries 2023-02-03 12:44:11 +00:00
.gitignore [build] Add support for local configuration files 2010-03-26 19:07:22 +00:00
Makefile [build] Avoid invoking genkeymap.py via Perl 2022-02-15 13:54:28 +00:00
Makefile.efi [efi] Use zero for PCI vendor/device IDs when no applicable ID exists 2021-07-26 15:47:47 +01:00
Makefile.housekeeping [dhcp] Simplify platform-specific client architecture definitions 2023-01-22 17:45:34 +00:00
Makefile.linux [linux] Centralise the linker script for Linux binaries 2023-01-22 12:38:03 +00:00
doxygen.cfg [build] Remove PACKED macro 2010-05-29 23:49:47 +01:00