summaryrefslogtreecommitdiffstats
path: root/src/include/ipxe/efi/Protocol/SimpleFileSystem.h
diff options
context:
space:
mode:
authorMichael Brown2023-03-01 12:06:46 +0100
committerMichael Brown2023-03-01 12:12:44 +0100
commit60531ff6e25d363f36f843cae29a95031aac2147 (patch)
tree215d4b18ea30335599665c2a69966e5b942f692b /src/include/ipxe/efi/Protocol/SimpleFileSystem.h
parent[efi] Omit EFI_LOAD_FILE2_PROTOCOL for a zero-length initrd (diff)
downloadipxe-60531ff6e25d363f36f843cae29a95031aac2147.tar.gz
ipxe-60531ff6e25d363f36f843cae29a95031aac2147.tar.xz
ipxe-60531ff6e25d363f36f843cae29a95031aac2147.zip
[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>
Diffstat (limited to 'src/include/ipxe/efi/Protocol/SimpleFileSystem.h')
0 files changed, 0 insertions, 0 deletions