Created
March 9, 2018 23:15
-
-
Save steveosoule/8ec04396b4bb0ce3cd3816c589baeeb0 to your computer and use it in GitHub Desktop.
Miva - mvt:call Response Headers
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mvt:call action="'https://www.example.com/'" method="'GET'"> | |
<mvt:assign name="l.header_counter" value="1" /> | |
<mvt:while expr="l.header_counter LT s.callnumberofheaders"> | |
<mvt:assign name="l.result" value="miva_array_insert_var( l.response_headers, miva_variable_value( 's.callreturnheader' $ l.header_counter ), -1 )" /> | |
<mvt:assign name="l.header_counter" value="l.header_counter + 1" /> | |
</mvt:while> | |
</mvt:call> | |
<mvt:eval expr="glosub(miva_array_serialize(l.response_headers), ',', '<br>')" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment