public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Sivaraman Nainar <sivaramann@amiindia.co.in>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: reg: EDK2 - HTTP Boot Image Validation
Date: Fri, 18 May 2018 09:17:03 +0000	[thread overview]
Message-ID: <B4DE137BDB63634BAC03BD9DE765F197021671F75A@VENUS1.in.megatrends.com> (raw)

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


             reply	other threads:[~2018-05-18  9:17 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-18  9:17 Sivaraman Nainar [this message]
2018-05-23  5:44 ` reg: EDK2 - HTTP Boot Image Validation Fu, Siyuan
2018-05-23  6:00   ` Sivaraman Nainar
2018-05-23  6:15     ` Fu, Siyuan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=B4DE137BDB63634BAC03BD9DE765F197021671F75A@VENUS1.in.megatrends.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox