Listing 11 is the similar clj-http code.
清单11是类似的clj - http代码。
Listing 32 shows the equivalent clj-http code.
清单32展示了对等的clj - http代码。
Listing 34 shows the equivalent clj-http code.
清单34展示了对等的clj - http代码。
Most of Listing 11 is the same as the previous clj-http code, one difference being where the ID is coming from.
清单11与前面的clj - http代码基本相同,一个区别是ID的来源。
The server responds with an HTTP code in the HTTP header (200, if correct), which is followed by the requested HTML document.
服务器回复时在HTTP标题中带有HTTP代码(如果没有错误发生的话,这个代码是 200),它后面紧跟着就是被请求的HTML文档。
The clj-http code in Listing 8 converts from the JSON response by taking the body of the response and calling json/read-json on it.
清单8 中的 clj-http代码是从JSON响应转换而来的,方法是提取响应的正文并在其上调用 json/read-json。
What we may - and should - do is simply return an HTTP 304 status code.
我们可能而且应该做的仅仅是返回一个HTTP 304状态码。
You can use the output from this custom code module in the HTTP request that you use for the movie search.
你可以使用来自搜索电影的HTTP请求中的自定义代码模块中的输出结果。
You can now integrate with HTTP based systems without needing to write custom code.
您现在可以与基于HTTP的系统集成,而无须编写自定义代码。
The example code in listing 4 shows the HTTP request to create a document with custom fields.
清单4中的示例代码显示了用于创建带有定制字段的文档的HTTP请求。
After modifying the code, you can alternate between the JMS and HTTP endpoint URLs by changing the endpoint.
修改代码后,就可以通过改变端点来实现在JMS和http端点url之间的替换。
So that you have to store the inputted code in a variable, replacing certain HTTP characters with their original values (in this case, quotation marks).
为此,必须将所输入的代码存储在一个变量内,用其原始值替代特定的HTTP字符(在本例中,是引号)。
An invalid media type should return an HTTP response code of 406.
无效媒体类型应返回一个HTTP响应代码406。
If none is found, the application returns the appropriate HTTP Response code: 406 Not Acceptable.
如果未发现任何内容,该应用程序将返回适当的HTTP响应代码:406不可接受。
No more daunting HTTP response code: 500.
而不是使用HTTP响应代码:500。
You might tinker with the HTTP response that each method renders, but your client code is really after only the HTTP return code.
可以修补每个方法呈现的HTTP响应,但是客户代码实际就在http返回码之后。
If the page no longer exists and the server is returning a proper 404 or 410 HTTP result code, making us unable to view the page, you may be better off requesting removal of the page altogether.
如果该页不再存在或者服务器返回404或者410状态代码,使我们无法访问该页,你最好同时请求删除该页面。
A standard HTTP request is being used behind the scenes, of course, but the client code never has to interact with the HTTP protocol directly.
标准的HTTP请求在后台使用,但客户端代码永远无需直接与HTTP协议交互。
It will show you all of the HTTP requests made, the response code and message received, the domain it was retrieved from, the file size, and the timeline of the page load.
将会显示所有生成的HTTP请求、响应代码和接收的消息、接收来源域、文件大小、发送时间点。
Normally, an HTTP POST results in the execution of code that creates a resource in the same domain as the request URI and returns a URI for that new resource.
通常,HTTPPOST会导致代码的执行,该代码在与请求uri相同的域中创建一个资源,并返回那个新资源的URI。
The code in Listing 1 is an example of an HTTP header in a GET request.
清单1中的代码是GET请求中的http头示例。
It supports both put and get, and gives your code complete access to the HTTP request header, including the UserAgent field.
它支持put和get,并且使您的代码具有对HTTP请求标头的完全访问权,包括useragent域。
A CherryPy application method typically returns the body of the response as a string, but sometimes you need to set additional HTTP headers, do a redirect, or change the HTTP response code.
CherryPy应用程序方法通常情况下会以字符串的形式返回响应的正文,但是有时需要您设置附加的HTTP标题,进行一个重定向,或者改变HTTP响应代码。
Listing 9, a quick example from Ruby on Rails, shows a closure that is used to code the response of an HTTP request.
清单9是Rubyon Rails中的一个简短例子,清单中的闭包用于为一个HTTP请求编写响应代码。
Additionally, the underlying code for making HTTP connections in Axis and others solutions is also stream based.
此外,Axis和其他解决方案中用于建立HTTP连接的底层代码也是基于流的。
This is handy, because almost every Web client has the ability to configure an HTTP proxy without changing application code.
这是非常方便的,因为几乎每个Web客户端都可以配置HTTP代理,而无需改变应用程序代码。
If something is wrong in a SOAP message, you will receive a HTTP response code: 500 from a Web Service server.
如果一个SOAP消息中有错误,您将会从Web服务服务器得到一个HTTP响应码:500。
Instead the WebSeal server returns an HTML login page (so that the user can login) with an HTTP response code 200 in place of the requested resource.
WebSeal服务器返回一个HTML登录页面(让用户能够登录)和http响应码200,而不是返回请求的资源。
The handler basically sends the requesting client an HTTP 301 "moved permanently" code, with the location of /.
简单地说,使用 /的位置,处理程序为请求的客户端发送一个HTTP 301 “moved permanently”代码 。
Using the EXPath HTTP Client module can make your code more portable across such processors.
使用EXPathHTTPClient模块可以使您的代码跨此类处理器更加可移植。
应用推荐