When doing a non-get request, the name/value pairs for customer request headers are backwards in the modal that pops up. This can be duplicated in the HAL Talk application by doing the following:
Type in a customer request header (I just typed Name: Value)
Click on a non-get button (I just selected ht:users)
Once the modal pops up, you should see Value: Name instead of Name: Value. This comes down to how those headers are built from in the render function for this view. The each function for underscore seems to want the value first and then the name rather than the other way around.
This pull request simply flips name and value in that iterator sent to each.
When doing a non-get request, the name/value pairs for customer request headers are backwards in the modal that pops up. This can be duplicated in the HAL Talk application by doing the following:
Once the modal pops up, you should see
Value: Name
instead ofName: Value
. This comes down to how those headers are built from in the render function for this view. Theeach
function for underscore seems to want the value first and then the name rather than the other way around.This pull request simply flips name and value in that iterator sent to
each
.