public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* reg: EDK2 - HTTP Boot Image Validation
@ 2018-05-18  9:17 Sivaraman Nainar
  2018-05-23  5:44 ` Fu, Siyuan
  0 siblings, 1 reply; 4+ messages in thread
From: Sivaraman Nainar @ 2018-05-18  9:17 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

Hello all,
When HTTP Boot performed the code checking if the Image type as EFI ISO and IMG. If not the boot not proceeding when the content type is as "Content-type: text/plain".
https://github.com/tianocore/edk2/blob/master/NetworkPkg/HttpBootDxe/HttpBootSupport.c (HttpBootCheckImageType())

But as per RFC it described below. https://tools.ietf.org/html/rfc2616#section-7.2.1:
"If and only if the media type is not given by a Content-Type field, the
recipient MAY attempt to guess the media type via inspection of its
content and/or the name extension(s) of the URI used to identify the
resource."
Can you please comment if this need to be addressed such a way we can skip the validation of image types.
-Siva


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-23  6:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-18  9:17 reg: EDK2 - HTTP Boot Image Validation Sivaraman Nainar
2018-05-23  5:44 ` Fu, Siyuan
2018-05-23  6:00   ` Sivaraman Nainar
2018-05-23  6:15     ` Fu, Siyuan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox