• 深入了解HTTP就绪状态

    Digging deeper into HTTP ready states.

    youdao

  • 首先需要学习每种就绪状态可能碰到是哪种请求状态

    First and foremost, you need to learn at what state of a request you encounter each ready state.

    youdao

  • 另外,未初始化的就绪状态实际应用程序没有真正的用处的。

    Furthermore, the uninitialized ready state is pretty useless in practical applications.

    youdao

  • 所有文档规范都强调只有就绪状态4数据才可以安全使用

    All of the documentation and specifications insist that it's only when the ready state is 4 that data is safe to use.

    youdao

  • 例如使用Opera 8.5时,所显示就绪状态情况更加糟糕

    For example, when using Opera 8.5, things are even worse with displayed ready states.

    youdao

  • 比较好的做法用户提供一些反馈说明处于就绪状态3时,很快就会响应了。

    A better idea is to provide some feedback to the user that when the ready state is 3, a response is forthcoming.

    youdao

  • 看到就绪状态3响应每个脚本、每个服务器甚至每个浏览器上都是不一样的。

    You'll find that your responses in ready state 3 vary from script to script, server to server, and browser to browser.

    youdao

  • 第四项也是最后一必需更改使RMock模拟对象脱离记录状态转入就绪状态

    And the fourth and final change required is to bring the RMock mock object out of record state into ready state.

    youdao

  • 这个回调函数运行多次——每次就绪状态都会改变——可以看到每个就绪状态警告

    Your callback function will run several timeseach time the ready state of the request changes — and you'll see an alert for each ready state.

    youdao

  • 话说,服务器履行请求(HTTP就绪状态4)但是没有返回客户机预期数据

    In other words, the server fulfilled the request (meaning the HTTP ready state is 4), but is probably not returning the data expected by the client.

    youdao

  • 程序任务硬件设备处于就绪状态需要一个起动信号开始工作

    A program, task, or hardware device that is in a ready condition needs only a start signal in order to begin operation.

    youdao

  • 就绪状态类似,responsetext属性整个请求生命周期中也会发生变化

    Like the ready state, the value of the responseText property changes throughout the request's life cycle.

    youdao

  • Opera上永远都不会看到两个就绪状态在Safari上则没有第一个(1)。

    On Opera, you'll never get those first two ready states and Safari drops the first one (1).

    youdao

  • 查看这种变化请使用如 清单5代码测试请求响应文本以及它们就绪状态

    To see this in action, use code like that shown in Listing 5 to test the response text of a request, as well as its ready state.

    youdao

  • 如果就绪状态4我们不仅要运行函数中的代码,而且还要在每次调用回调函数时都输出就绪状态

    Instead of only running code in your callback if the ready state is 4, just output the ready state every time that your callback is called.

    youdao

  • 请求就绪状态发生变化时,req.onreadystatechange指定函数调用。

    When the ready state of a request changes, the function specified in req.onreadystatechange is invoked. req.readystate contains one of the following status codes

    youdao

  • 然而由于服务器请求进行了应答,因此就绪状态设置4(即使应答不是请求期望也是如此)。

    However, the ready state will be set to 4 since the server answered the request (even if the answer wasn't what you wanted or expected for your request).

    youdao

  • 测试套件状态变更执行测试案例就绪状态请选取测试套件阶层窗格中的测试套件。

    To change the state of a test suite to the ready state so that the test cases can be run, select the test suite in the test suite hierarchy pane.

    youdao

  • 如果可以考虑各种就绪状态——并且理解这些就绪状态在不同浏览器之间的区别——就可以快速调试应用程序了。

    If you can account for the various ready statesand understand how they differ from browser to browser — you'll be able to debug an application quickly.

    youdao

  • 其中一点,即就绪状态在下篇文章中详细讨论进一步了解HTTP请求阶段,可能设想的还

    The first of theseready states — is going to take up the bulk of the next article; you'll learn more about the stages of an HTTP request than you ever wanted to know.

    youdao

  • 对于Ajax编程需要直接处理惟一状态就是就绪状态4表示服务器响应已经完成可以安全地使用响应数据了。

    For Ajax programming, the only state you need to deal with directly is ready state 4, indicating that a server's response is complete and it's safe to check the response data and use it.

    youdao

  • 清单1相当简单;清单4稍微有点复杂但是它们开始要检查就绪状态获取responsetext属性

    Listing 1 is fairly simple; Listing 4 is a little more complicated, but to begin, both check the ready state and then grab the value (or values) in the responseText property.

    youdao

  • 第一就绪状态的特点是readyState属性0(readyState == 0),表示初始状态

    The first ready state, signified by the readyState property 0 (readyState == 0), represents an uninitialized request.

    youdao

  • 就绪状态发生变化,将调用req . onreadystatechange属性指定函数(请参见清单17)。

    After the ready state changes, the function specified in the req.onreadystatechange property is invoked (see Listing 17).

    youdao

  • 然而如果不仅仅了解Ajax编程的常识,而是希望了解更多内容,需要熟悉就绪状态状态代码请求本身的内容。

    However, you will need to be fluent in ready states, status codes, and requests if you want to do more than just dabble in Ajax programming.

    youdao

  • 很多Ajax应用程序中,看到一个回调函数,它负责检查就绪状态然后继续利用服务器响应返回的数据清单6所示。

    In many Ajax applications, you'll see a callback function that checks for a ready state and then goes on to work with the data from the server response, as in Listing 6.

    youdao

  • Safari实际上第一个就绪状态给丢弃了,并没有什么明显的原因说明为什么这样做;不过就是Safari的工作方式。

    Safari actually leaves out the first ready state and there's no sensible explanation as to why; it's simply the way Safari works.

    youdao

  • 完成一个CR时,就被置发布就绪状态,这个状态一直保持到两个星期中的第二星期三。 此时正是计划的发布日期。

    When a CR is complete it sits in the Release Ready state until a scheduled release happens on every second Wednesday.

    youdao

  • 不过为了满足我们兴趣,请参见 清单2 的内容,其中显示了如何在 readyState设置 0 时来获取这种就绪状态

    Still, in the interest of being complete, check out Listing 2 which shows how to get the ready state when it's set to 0.

    youdao

  • 如果就绪状态4而且状态是 200,就可以处理服务器数据了,而且这些数据应该就是要求数据(不是错误或者其他有问题信息)。

    With a ready state of 4 and a status code of 200, you're ready to process the server's data and that data should be what you asked for (and not an error or other problematic piece of information).

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定