[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Debug View of HTTP Headers
Hi All,
� I have been requested to add a cookie into the HTTP header before a
POST.
The repsonse I receive is that the cookie is not found.
Is there any way to view the header in debug before executing the POST?
I have set http_debug(*ON) but do not see the name of the cookie in the
resuting file..
� Thanks in advance for any help.
Much appreciated.
� - Steve
� The code is below:
� http_xproc(HTTP_POINT_ADDL_HEADER� ��������� :%paddr('ADDL_HDR'))� ;� � P addl_hdr������� B����������������������������������� ����������� ������������������������������������ ����������������������������� D addl_hdr������� PI����������������������������������� ���������� D�� addl_data���������������� 1024A�� varying�������������������� ������������������������������������ ����������������������������� �/free�������������������������������� ��������������������������� ������������������������������������ ����������������������������� ���� if %len(OurToken) > 0� ;����������������������������������� � �������� addl_data = 'Cookie: authToken=' + OurToken + x'0d25'
;� ���� else
;����������������������������������� ������������������� �������� addl_data = ''
;����������������������������������� ����� ���� endif
;����������������������������������� ������������������ ������������������������������������ ����������������������������� �/end-free������������������������������ ������������������������� ������������������������������������ ����������������������������� P���������������� E����������������������������������� �����������
-----------------------------------------------------------------------
This is the FTPAPI mailing list. To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------