diff options
author | David Fries <David@Fries.net> | 2014-03-07 15:40:54 -0600 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-14 15:27:03 +0100 |
commit | e6cb06a8354a1423a7fc53af96a55e1e156bdcc2 (patch) | |
tree | 2f78c5912c0b5bc29a8b7f2ae1d3f16f74a04a8e /src/network/access | |
parent | 961b24eed24185cdd16ca347f6ca2580d86ea9c6 (diff) |
correct send vs sent grammar
Correct the tense of send vs sent in comments and documentation.
Change-Id: I1c5ce9a7b1e49b8b0e8dcfde7d732e4c69acf73a
Reviewed-by: Kurt Pattyn <pattyn.kurt@gmail.com>
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/network/access')
-rw-r--r-- | src/network/access/qhttpnetworkreply.cpp | 4 | ||||
-rw-r--r-- | src/network/access/qhttpnetworkrequest.cpp | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/network/access/qhttpnetworkreply.cpp b/src/network/access/qhttpnetworkreply.cpp index 2a7e6ed638..b057fee144 100644 --- a/src/network/access/qhttpnetworkreply.cpp +++ b/src/network/access/qhttpnetworkreply.cpp @@ -363,7 +363,7 @@ bool QHttpNetworkReplyPrivate::isCompressed() void QHttpNetworkReplyPrivate::removeAutoDecompressHeader() { // The header "Content-Encoding = gzip" is retained. - // Content-Length is removed since the actual one send by the server is for compressed data + // Content-Length is removed since the actual one sent by the server is for compressed data QByteArray name("content-length"); QList<QPair<QByteArray, QByteArray> >::Iterator it = fields.begin(), end = fields.end(); @@ -921,7 +921,7 @@ qint64 QHttpNetworkReplyPrivate::getChunkSize(QAbstractSocket *socket, qint64 *c bool QHttpNetworkReplyPrivate::shouldEmitSignals() { // for 401 & 407 don't emit the data signals. Content along with these - // responses are send only if the authentication fails. + // responses are sent only if the authentication fails. return (statusCode != 401 && statusCode != 407); } diff --git a/src/network/access/qhttpnetworkrequest.cpp b/src/network/access/qhttpnetworkrequest.cpp index 6e9f1216c3..8ad04c9885 100644 --- a/src/network/access/qhttpnetworkrequest.cpp +++ b/src/network/access/qhttpnetworkrequest.cpp @@ -120,7 +120,7 @@ QByteArray QHttpNetworkRequest::uri(bool throughProxy) const { QUrl::FormattingOptions format(QUrl::RemoveFragment | QUrl::RemoveUserInfo | QUrl::FullyEncoded); - // for POST, query data is send as content + // for POST, query data is sent as content if (d->operation == QHttpNetworkRequest::Post && !d->uploadByteDevice) format |= QUrl::RemoveQuery; // for requests through proxy, the Request-URI contains full url |