Returns True if the last web request resulted in an erroneous HTTP code (like 500)
()
| 2786 | return threadData.lastErrorPage and threadData.lastErrorPage[0] == threadData.lastRequestUID |
| 2787 | |
| 2788 | def wasLastResponseHTTPError(): |
| 2789 | """ |
| 2790 | Returns True if the last web request resulted in an erroneous HTTP code (like 500) |
| 2791 | """ |
| 2792 | |
| 2793 | threadData = getCurrentThreadData() |
| 2794 | return threadData.lastHTTPError and threadData.lastHTTPError[0] == threadData.lastRequestUID |
| 2795 | |
| 2796 | def wasLastResponseDelayed(): |
| 2797 | """ |
no test coverage detected
searching dependent graphs…