From: "David Wang (王振宇)" <DavidWang@quantatw.com>
To: 郁雷 <yulei.sh@bytedance.com>
Cc: Joseph Reynolds <jrey@linux.ibm.com>,
"gkeishin@in.ibm.com" <gkeishin@in.ibm.com>,
"openbmc@lists.ozlabs.org" <openbmc@lists.ozlabs.org>
Subject: RE: Openbmc-test-automation checking service root URL "/"
Date: Fri, 15 May 2020 06:01:28 +0000 [thread overview]
Message-ID: <ce18cdc261594db5bd9c745f416752b5@quantatw.com> (raw)
In-Reply-To: <CAGm54UF3MzDqk8eEJY+Vkiepe1+PRQL6kh6N7_VB_7eqnzn8rg@mail.gmail.com>
Yes, it works after I install "phosphor-webui" package in my bmc.
And the BMCWEB_ENABLE_STATIC_HOSTING compile flag is enable in default in bmcweb.
Then I can get some binary response by running
curl -k https://${bmc}/ --output
and encoding by
curl -k -H "Accept-Encoding: gzip" https://${bmc}/ --output - | gunzip | more
then see the readable page info.
Thank you for the information, it's very helpful.
David
-----Original Message-----
From: 郁雷 <yulei.sh@bytedance.com>
Sent: Friday, May 15, 2020 10:29 AM
To: Joseph Reynolds <jrey@linux.ibm.com>
Cc: David Wang (王振宇) <DavidWang@quantatw.com>; gkeishin@in.ibm.com; openbmc@lists.ozlabs.org
Subject: Re: Openbmc-test-automation checking service root URL "/"
On Thu, May 14, 2020 at 11:34 PM Joseph Reynolds <jrey@linux.ibm.com> wrote:
>
> I understand GET requests for URI "/" to return the web app, if
> BMCWEB_ENABLE_STATIC_HOSTING is enabled and the web app is present.
> See
> https://github.com/openbmc/bmcweb/blob/master/CMakeLists.txt#L49
> and https://github.com/openbmc/phosphor-webui
Yup, the URI "/" is supposed to be the webui.
By default, it is phosphor-webui's login page, but be noted that it could be in a compressed format.
prev parent reply other threads:[~2020-05-15 6:02 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-14 11:32 Openbmc-test-automation checking service root URL "/" David Wang (王振宇)
2020-05-14 15:33 ` Joseph Reynolds
2020-05-15 2:28 ` 郁雷
2020-05-15 6:01 ` David Wang (王振宇) [this message]
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-all 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=ce18cdc261594db5bd9c745f416752b5@quantatw.com \
--to=davidwang@quantatw.com \
--cc=gkeishin@in.ibm.com \
--cc=jrey@linux.ibm.com \
--cc=openbmc@lists.ozlabs.org \
--cc=yulei.sh@bytedance.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.