4D first tries to retrieve the charset from the content-type header, then from the content using a BOM, and finally looks for any http-equiv charset (in html content) or encoding (for xml) attribute.
4D primero intenta recuperar el conjunto de caracteres del encabezado de tipo de contenido, luego del contenido utilizando un BOM y, finalmente, busca cualquier atributo http-equiv charset (en contenido html) o codificación (para xml).
Note: It is common practice to use the content-type header to 'version' restful API's.
The body of the request is automatically parsed based on the content-type header and made available via your HTTP function's arguments.
El cuerpo de la solicitud se analiza automáticamente según el encabezado content-type y se encuentra disponible mediante los argumentos de la función de HTTP.
Change the content-type header on the web server (Web administrators)
For example, specifying a value of 100 would limit the length of a content-type header to 100 bytes. Actions Pane Elements
Por ejemplo, al especificar un valor de 100, la longitud de un encabezado de tipo de contenido se limita a 100 bytes.
Next, it creates a ResourceLoader object and calls its respond() method, which outputs the specified resource content, including a content-type header.
Seguidamente, crea un objeto ResourceLoader y llama a su correspondiente método respond(), que sacará el contenido del recurso especificado, incluyendo una cabecera content-type.
The web server needs at least the Content-Type header to process the request.
El servidor web necesita al menos el encabezado Content-Type para procesar la solicitud.
At the minimum that means it must generate a Content-type header.
Esto quiere decir que, por lo menos, debe generar una cabecera Content-type.
Notice that the stream-open function above also supplies the message Content-Type header as second parameter.
Observe que la función stream-open anterior también suministra el encabezado Content-Type del mensaje en el segundo parámetro.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple