equal
deleted
inserted
replaced
123 |
123 |
124 \value SslHandshakeFailedError the SSL/TLS handshake failed and the |
124 \value SslHandshakeFailedError the SSL/TLS handshake failed and the |
125 encrypted channel could not be established. The sslErrors() signal |
125 encrypted channel could not be established. The sslErrors() signal |
126 should have been emitted. |
126 should have been emitted. |
127 |
127 |
|
128 \value TemporaryNetworkFailureError the connection was broken due |
|
129 to disconnection from the network, however the system has initiated |
|
130 roaming to another access point. The request should be resubmitted |
|
131 and will be processed as soon as the connection is re-established. |
|
132 |
128 \value ProxyConnectionRefusedError the connection to the proxy |
133 \value ProxyConnectionRefusedError the connection to the proxy |
129 server was refused (the proxy server is not accepting requests) |
134 server was refused (the proxy server is not accepting requests) |
130 |
135 |
131 \value ProxyConnectionClosedError the proxy server closed the |
136 \value ProxyConnectionClosedError the proxy server closed the |
132 connection prematurely, before the entire reply was received and |
137 connection prematurely, before the entire reply was received and |
529 QNetworkHeadersPrivate::RawHeadersList::ConstIterator it = |
534 QNetworkHeadersPrivate::RawHeadersList::ConstIterator it = |
530 d->findRawHeader(headerName); |
535 d->findRawHeader(headerName); |
531 if (it != d->rawHeaders.constEnd()) |
536 if (it != d->rawHeaders.constEnd()) |
532 return it->second; |
537 return it->second; |
533 return QByteArray(); |
538 return QByteArray(); |
|
539 } |
|
540 |
|
541 /*! \typedef QNetworkReply::RawHeaderPair |
|
542 |
|
543 RawHeaderPair is a QPair<QByteArray, QByteArray> where the first |
|
544 QByteArray is the header name and the second is the header. |
|
545 */ |
|
546 |
|
547 /*! |
|
548 Returns a list of raw header pairs. |
|
549 */ |
|
550 const QList<QNetworkReply::RawHeaderPair>& QNetworkReply::rawHeaderPairs() const |
|
551 { |
|
552 Q_D(const QNetworkReply); |
|
553 return d->rawHeaders; |
534 } |
554 } |
535 |
555 |
536 /*! |
556 /*! |
537 Returns a list of headers fields that were sent by the remote |
557 Returns a list of headers fields that were sent by the remote |
538 server, in the order that they were sent. Duplicate headers are |
558 server, in the order that they were sent. Duplicate headers are |