зеркало из https://github.com/mozilla/pjs.git
Changed two inappropriate uses of comparisons between a possibly undefined value and an empty string into uses of the <with> element. This fixes the problem whereby output did not include the 200 OK status flag.
This commit is contained in:
Родитель
0da5c94177
Коммит
2de9151c8c
|
@ -9,8 +9,8 @@ COSES
|
|||
|
||||
<!-- HTTP Header -->
|
||||
<text>
|
||||
HTTP/1.1 <if lvalue="response" condition="ne" rvalue=""><text value="(response)"/></if><else>200 OK</else><br/>
|
||||
<if lvalue="headers" condition="ne" rvalue=""><text value="(headers)"/></if>Content-Type: text/html
|
||||
HTTP/1.1 <with variable="(response)"><text value="(response)"/></with><else>200 OK</else><br/>
|
||||
<with variable="headers"><text value="(headers)"/></with>Content-Type: text/html
|
||||
</text>
|
||||
|
||||
<!-- Separator -->
|
||||
|
|
Загрузка…
Ссылка в новой задаче