From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (no SPF record) identity=mailfrom; client-ip=203.199.198.232; helo=imsva.in.megatrends.com; envelope-from=sivaramann@amiindia.co.in; receiver=edk2-devel@lists.01.org Received: from IMSVA.IN.MEGATRENDS.COM (Webmail.amiindia.co.in [203.199.198.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 7C51C2096185B for ; Fri, 18 May 2018 02:17:09 -0700 (PDT) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 97B4D8207C for ; Fri, 18 May 2018 14:51:10 +0530 (IST) Received: from IMSVA.IN.MEGATRENDS.COM (IMSVA.IN.MEGATRENDS.COM [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 8B6918207B for ; Fri, 18 May 2018 14:51:10 +0530 (IST) Received: from webmail.amiindia.co.in (venus2.in.megatrends.com [10.0.0.7]) by IMSVA.IN.MEGATRENDS.COM (Postfix) with ESMTPS for ; Fri, 18 May 2018 14:51:10 +0530 (IST) Received: from VENUS1.in.megatrends.com ([fe80::951:7975:6ecf:eae5]) by Venus2.in.megatrends.com ([fe80::2002:4a07:4f17:c09b%14]) with mapi id 14.03.0248.002; Fri, 18 May 2018 14:47:04 +0530 From: Sivaraman Nainar To: "edk2-devel@lists.01.org" Thread-Topic: reg: EDK2 - HTTP Boot Image Validation Thread-Index: AdPuiPtKZoFx+AjgT3urlqJqNYkCyw== Date: Fri, 18 May 2018 09:17:03 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.2.50] MIME-Version: 1.0 X-TM-AS-GCONF: 00 X-TM-AS-Product-Ver: IMSVA-9.1.0.1600-8.2.0.1013-23850.006 X-TM-AS-Result: No--13.387-5.0-31-10 X-imss-scan-details: No--13.387-5.0-31-10 X-TMASE-Version: IMSVA-9.1.0.1600-8.2.1013-23850.006 X-TMASE-Result: 10--13.386600-10.000000 X-TMASE-MatchedRID: NtGK0Swcehv/o+5l9ZSgvmwjJ4TFeU1uZG3SCLP7QtLdlUBV/nLsUjJ2 ncI9Ab5FvwOeKXb/xCZe7PkhSbTKtrd3ZLzjtBFr71Wx2uUbPLdDr8MVm6DK3bv81BNUjUj5jNL xrcxKViWMkVsdMJZ1Bn+lsrTmsmXb1lfDCm9+EZW8WSrf+s16tzK1/qdbjc7Q+5+93dPb6/ddqW vmiTG8mk02CDA+9m2PCOTe3ObUovIJG55i6ynXHPilM7nponT86tEkNTIMeQg4No34L92afVHXx CnNdK1OeJzUQvlF1uc+1dTq3syYX1ATqJs9uVXRQ5lZokGzOapbgLJAVCa002I4wQ1Yq/d0gSPx 9ZcPkrYb76IjjdKfdhQAXi4Ga9GRHxPMjOKY7A/+xOhjarOnHmgVPcrOkeoTwtAXUhic6dKOhzO a6g8KrSUX9uNxNcRNRMkO4JLIrmth4akzQJZjN3p86W7aBxe7kCAGt9S6vbeC8hzmIOybfQ6Rha WJcyYYjDTFN1opIbZJ/wBXEOS1s+ulxyHOcPoH X-TMASE-SNAP-Result: 1.821001.0001-0-1-12:0,22:0,33:0,34:0-0 X-Content-Filtered-By: Mailman/MimeDel 2.1.26 Subject: reg: EDK2 - HTTP Boot Image Validation X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 May 2018 09:17:10 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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-t= ype: text/plain". https://github.com/tianocore/edk2/blob/master/NetworkPkg/HttpBootDxe/HttpBo= otSupport.c (HttpBootCheckImageType()) But as per RFC it described below. https://tools.ietf.org/html/rfc2616#sect= ion-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