-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
Motivation
in http language, request-line / response-status are less tokenized for me.
I would like to make PR if it works.
Description
request line
current request-line
GET /path HTTP/1.1
results in
<span class="token request-line">
<span class="token property">POST</span>
/default-endpoint HTTP/1.1
</span>would like to be
<span class="token request-line">
<span class="token method">POST</span>
<span class="token string">/default-endpoint</span>
<span class="token property">HTTP/1.1</span>
</span>response status
current response status
HTTP/1.1 200 OKresults in
<span class="token response-status">
HTTP/1.1
<span class="token property">200 OK</span>
</span>would like to be
<span class="token response-status">
<span class="token property">HTTP/1.1</span>
<span class="token number">200</span>
<span class="token string">OK</span>
</span>class name are wip, ping me if other choice fit's here.