Brocade Virtual ADX OpenScript API Guide (Supporting ADX v Uživatelský manuál Strana 49

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 48
Brocade Virtual ADX OpenScript API Guide 37
53-1003243-01
Chapter
5
HTTP REQUEST API reference
In this chapter
This chapter contains the following sections:
Overview. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Methods . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37
Overview
The OS_HTTP_REQUEST module includes the APIs to retrieve or set the value of the fields in the
current HTTP request headers. These APIs can only be called from the HTTP_REQUEST event.
The use <package> statement needs to be in the declaration block of the script for methods of that
package to be used.
For example: to use the OS_HTTP_REQUEST methods, The OS_HTTP_REQUEST package must be
declared as follows:
use OS_HTTP_REQUEST;
Limitation of the content rewrite
The maximum number of the HTTP header rewrite entries is 19. If there is a pattern to be deleted
that spans multiple packets (i.e. two packets), it will be considered as two rewrite actions. When
the total number of rewrites exceed 19, the TCP connection may fail or the content rewrite action
exceeding the limit may fail. The maximum header rewrite entry size cannot exceed the TCP MSS
(Maximum Segment Size).
Also for header insertion, the maximum length of a header name is 128 bytes and the maximum
length of a header value is 512 bytes. When combined together the sum of the header name and
header values cannot exceed 512 bytes.
Methods
OS_HTTP_REQUEST::method
Returns method type specified in HTTP request header if it exists, otherwise it will return NULL.
Context
HTTP request event. If called in the HTTP response context, undefined will be returned.
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 131 132

Komentáře k této Příručce

Žádné komentáře

Speck NBAG-AFT15-PINGRY manuály

Uživatelské manuály a uživatelské příručky pro Pouzdra na notebook Speck NBAG-AFT15-PINGRY.
Poskytujeme 1 manuály pdf Speck NBAG-AFT15-PINGRY ke stažení zdarma podle typů dokumentů: Datový list


Speck NBAG-AFT15-PINGRY Datový list (2 strany)


Značka: Speck | Kategorie: Notebook cases | Velikost: 0.74 MB |

 

Tabulka s obsahem





Další produkty a příručky pro Pouzdra na notebook Speck

Modely Typ Dokumentu
NBAG-PORT15-PINBLK Datový list   Speck CorePack - CoffeeHouse Brown Plaid, 2 stránky
SeeThru (MacBook 13" Unibody) Uživatelský manuál   Speck SeeThru (MacBook 13" Unibody), 1 stránky