支持专门的内容编码应是相当容易的。
It should be pretty straightforward to enable specialized content encoding.
在服务器端有两种处理内容编码的方式。
From the server side, there are two ways to deal with the content encoding.
Mozilla:内容编码压缩的性能。
请记住,在包装套接字之前您需要了解内容编码。
Remember, you need to know the content encoding before you wrapper the socket.
内容编码头告诉浏览器整个响应体用gzip算法进行压缩。
The Content-Encoding header tells the browser that the response body is compressed using the gzip algorithm. After decompressing the blob, you’ll see the HTML you’d expect
内容编码是指在Web用户请求文档之前就已经应用到这些文档的编码和压缩方法。
Content encoding applies to methods of encoding and compression that have been already applied to documents before the Web user requests them.
IETF用来压缩HTTP内容的标准包括两级编码:内容编码和传输编码。
The IETF's standard for compressing HTTP contents includes two levels of encoding: content encoding and transfer encoding.
此外,本文将讨论servlet级别上的编码,它使您可以实现不同的内容编码方案。
Furthermore, this article looks at encoding at the servlet level, which will enable you to implement a different content encoding scheme.
当回应取决于用户端输入集合(例如标头、参数或内容编码方式)时,这会很有用。
This is useful when a response depends on a set of client inputs, such as headers, parameters, or content encodings.
通常攻击者会把链接中的恶意内容编码成HEX(或其他编码方法),所以减少了用户点击时的怀疑。
Usually the attacker will encode the malicious portion of the link to the site in HEX (or other encoding methods) so the request is less suspicious looking to the user when clicked on.
您可以配置Web服务器,使它标识能够支持压缩内容编码的客户机,然后对以这种格式发出请求的输出内容进行编码。
You can configure the Web server to identify clients that can support compressed content encoding and then encode the output content being requested in that format.
通过确保按需脚本被验证并确保从那些脚本生成的内容被适当编码以阻止恶意代码的执行,您可以避免这类漏洞。
You can prevent this vulnerability by ensuring that on-demand scripts are validated and that content generated from the scripts is encoded properly to prevent execution of malicious code.
现在,如果你想要尽可能支持更多的浏览器,你就需要将你的内容以多种不同格式编码。
Now, if you want to support as many browsers as possible, you will need to encode your content in a couple different formats.
对字符编码、单词和内容样式的分析可以轻松而明确地判断出文本数据属于哪种语言。
Analysis of character encoding, words, and content style can easily determine with high confidence which language textual data is in.
但是当内容以较常规方式编码时,不会实施这些规则。
But those rules aren't enforced while the content is encoded more generally.
虽然大多数人在屏幕抓取上灰头土脸、败下阵来,但是一个意志坚定的社区却脱颖而出,她对于在文档中编码语义内容的前景被忽视甚为不满。
While the rest of us threw in the towel on screen scraping, a determined community emerged that was not satisfied to ignore the prospect of encoding semantic content in documents.
在现在的实践中,内容和传输编码的界限已经很模糊,原因是所请求的页面只有被请求后才会存在(它们是实时生成的)。
In modern practice the difference between content and transfer encoding is blurred since the pages requested do not exist until after they are requested (they are created in real-time).
一些人(包括我在内)喜欢在学习完所有内容后再开始编码。
Some, myself included, like to study all they can before beginning to code.
服务器端的编码是一个过程,其中所有动态内容都将经过一个编码函数,这时,脚本编制标记将被替代为所选择的字符集中的代码。
Server side encoding is a process where all dynamic content will go through an encoding function where scripting tags will be replaced with codes in the chosen character set.
提供者通过返回所请求内容条目的xml或json编码的表示而服务这些请求。
A provider services these requests by returning XML - or JSON-encoded representations of the requested content items.
我们还演示了当网站使用简单的定制标记库正确编码动态内容时,可以消除大多数攻击。
We have also demonstrated that the majority of the attacks can be eliminated when a Web site uses a simple custom tag library to properly encode the dynamic content.
例如,在处理表单中用户的输入时,您通常会检查提交的每个表单,以确保其中提供的是预期的内容(数字、邮政编码、字母字符等等)。
Well, when dealing with user input from forms, for example, you typically check each form submitted to make sure that it's what you expect (numbers, ZIP code, alphabetic characters, and so on).
一种替代方法是用基础64位编码方法对文件内容进行编码,再用创建CM IS文档的原始HTTPPOST发布已编码的内容。
An alternative is to encode the file content using base 64-bit encoding and post that encoded content with the original HTTP post that created the CMIS document.
RSS为内容提供者提供了一种广泛接受的优雅格式来编码和连锁对其站点内容的周期性更改。
RSS provides an elegant and widely accepted format for content providers to encode and syndicate the periodic changes made to their site's content.
此外,XML还支持不同类型的文本编码,让内容作者在文档中声明使用的编码。
In addition, XML also provides support for various types of text encoding, leaving it up to the content author to declare the encoding they're using in each document.
如果在Apache配置文件中使用类型映射,那么就使用它,根据语言、内容类型和字符编码的任意组合将URL映射到文件名。
If a type map is used in the Apache configuration file, it is used to map URLs to file names based on any combination of language, content type, and character encoding.
内容及传输编码:IETF用于压缩HTTP内容的两级标准。
Content and transfer encoding. IETF's two-level standard for compressing HTTP contents.
您将会发现密钥文件的内容由使用base64编码的字母和数字组成。
You'll notice that the contents consist of alphanumeric characters encoded in base64.
RDFa指定了下述属性类型来编码RDF内容
RDFa specifies the following attribute types to encode RDF content
该查询使用WHERE 子句来筛选weather.bylocation表的内容并检索指定邮政编码的天气预报。
The query uses a WHERE clause to filter the contents of the weather.bylocation table and retrieve a weather forecast for the specified zip code.
应用推荐