[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE : Enhancement request for HEADERR4 module



Me to ......

Alain RUAS
Technical Manager
(33) 562 747 500
 
 

-----Message d'origine-----
De : ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] De la part de Nick Townsend
Envoyé : lun. 30 mars 2009 13:36
À : HTTPAPI and FTPAPI Projects
Objet : RE: Enhancement request for HEADERR4 module

Thomas,

I can't claim to have an immediate use for these functions but I can imagine circumstances where they would be useful, so my vote would be for them to be added to HTTPAPI.

Regards,

Nick

___________________________________
Nick Townsend
Technical Leader
Endsleigh Insurance Services Limited
Telephone: +44 (0)1242 866866 ext. 6426

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of thomas.raddatz@xxxxxx
Sent: 30 March 2009 12:21
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Enhancement request for HEADERR4 module



Hi,

For WSDL2RPG I need some new procedures to get the "main" and "sub" header
value from a given header in the header list. I also need a procedure to
get a specific header attribute of a given header. Is someone interested in
these procedures? If so, please let me know and I will add them to HTTP
API. Otherwise I will add them only to WSDL2RPG.

Sample header value:

  Content-Type: text/html; charset=ISO-8859-15

Return values of the procedures:

  http_header_value('content-type': 0)           ==> text
  http_header_sub_value('content-type': 0)       ==> html
  http_header_attr('content-type': 0: 'charset') ==> ISO-8859-15

Syntax:

  string = http_header_value(name: [pos])
  string = http_header_sub_value(name: [pos])
  string = http_header_attr(name: [pos]: attrName)

Return values are without quotes (in case of quoted values)!

Regards,

Thomas.


--
IMPORTANT NOTICE:
This email is confidential, may be legally privileged, and is for the
intended recipient only. Access, disclosure, copying, distribution, or
reliance on any of it by anyone else is prohibited and may be a criminal
offence. Please delete if obtained in error and email confirmation to the sender.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------

Information contained in this email is intended for the use of the addressee only, and is confidential and may be the subject of legal professional privilege. Any dissemination, distribution, copying or use of this communication without prior permission of the addressee is strictly prohibited. If you have received this email in error please notify the Help Desk at Endsleigh on 01242 866866.
The contents of an attachment to this email may contain software viruses, which could damage your computer system. While Endsleigh has taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage, which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment.

http://www.endsleigh.co.uk
Endsleigh Insurance Services Limited is authorised and regulated by the Financial Services Authority
Company number: 856706
Registered in England at Shurdington Road, Cheltenham Spa, Gloucestershire GL51 4UE
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------