Units
Translation components API.
See the Weblate's Web API documentation for detailed description of the API.
GET /api/translations/cnp3-ebook/exerciseshttp/fr/units/?format=api
https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "The HyperText Transfer Protocol" ], "previous_source": "", "target": [ "" ], "id_hash": 4918487870037107196, "content_hash": 4918487870037107196, "location": "../../exercises/http.rst:6", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 1, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 4, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35406/?format=api", "priority": 100, "id": 30316, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=c441faa895a121fc", "url": "https://weblate.info.ucl.ac.be/api/units/30316/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.484015+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "An important difference between HTTP/1.0, HTTP/1.1 and HTTP/2.0 is their utilization of the underlying transport connections. Answer the three questions below to confirm that you understand the difference between these versions of the HTTP protocol." ], "previous_source": "", "target": [ "" ], "id_hash": 60865726064317561, "content_hash": 60865726064317561, "location": "../../exercises/http.rst:8", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 2, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35407/?format=api", "priority": 100, "id": 30317, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=80d83d0e2d0f5479", "url": "https://weblate.info.ucl.ac.be/api/units/30317/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.504500+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "System administrators who are responsible for web servers often want to monitor these servers and check that they are running correctly. As a HTTP server uses TCP on port 80, the simplest solution is to open a TCP connection on port 80 and check that the TCP connection is accepted by the remote host. However, as HTTP/1.x is an ASCII-based protocol, it is also very easy to write a small script that downloads a web page on the server and compares its content with the expected one. Use `telnet` or `ncat` to verify that a web server is running on host `www.computer-networking.info` [#fhttp]_." ], "previous_source": "", "target": [ "" ], "id_hash": 674086974144491259, "content_hash": 674086974144491259, "location": "../../exercises/http.rst:17", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 3, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 103, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35408/?format=api", "priority": 100, "id": 30318, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=895ad6881199aefb", "url": "https://weblate.info.ucl.ac.be/api/units/30318/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.518300+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Instead of using `telnet` on port 80, it is also possible to use a command-line tool such as curl_. Use curl_ with the `--trace-ascii tracefile` option to store in `tracefile` all the information exchanged by curl_ when accessing the server." ], "previous_source": "", "target": [ "" ], "id_hash": 8213477368897430671, "content_hash": 8213477368897430671, "location": "../../exercises/http.rst:19", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 4, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35409/?format=api", "priority": 100, "id": 30319, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=f1fc22266fd7648f", "url": "https://weblate.info.ucl.ac.be/api/units/30319/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.543949+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "What is the version of HTTP used by your version of curl_ ?" ], "previous_source": "", "target": [ "" ], "id_hash": -1696917853814352666, "content_hash": -1696917853814352666, "location": "../../exercises/http.rst:21", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 5, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35410/?format=api", "priority": 100, "id": 30320, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=68735633de6094e6", "url": "https://weblate.info.ucl.ac.be/api/units/30320/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.568814+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Can you explain the different headers placed by curl_ in the request ?" ], "previous_source": "", "target": [ "" ], "id_hash": -35029649672534657, "content_hash": -35029649672534657, "location": "../../exercises/http.rst:22", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 6, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 13, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35411/?format=api", "priority": 100, "id": 30321, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=7f838cb81ea9857f", "url": "https://weblate.info.ucl.ac.be/api/units/30321/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.593610+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Can you explain the different headers found in the response ?" ], "previous_source": "", "target": [ "" ], "id_hash": -2574047290130721153, "content_hash": -2574047290130721153, "location": "../../exercises/http.rst:23", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 7, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 11, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35412/?format=api", "priority": 100, "id": 30322, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=5c4725a0a4b3967f", "url": "https://weblate.info.ucl.ac.be/api/units/30322/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.627220+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "HTTP 1.1, specified in :rfc:`2616`, forces the client to include the `Host:` header in all its requests. HTTP 1.0 does not define the `Host:` header, but most implementations support it. By using `telnet` and `curl` retrieve the first page of the https://www.computer-networking.info web server [#fhttps]_ by sending http requests with and without the `Host:` header. Explain the difference between the two." ], "previous_source": "", "target": [ "" ], "id_hash": -6031357468474673440, "content_hash": -6031357468474673440, "location": "../../exercises/http.rst:25", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 8, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 61, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35413/?format=api", "priority": 100, "id": 30323, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=2c4c5056822af6e0", "url": "https://weblate.info.ucl.ac.be/api/units/30323/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.680748+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "The headers sent in a HTTP request allow the client to provide additional information to the server. One of these headers is the `Accept-Language` header that allows indicating the preferred language of the client [#flang]_. For example, `curl -HAccept-Language:en http://www.google.be` will send to `http://www.google.be` a HTTP request indicating English (`en`) as the preferred language. Does google provides a different page in French (`fr`) and Walloon (`wa`) ? Same question for `http://www.uclouvain.be` (given the size of the homepage, use ``diff`` to compare the different pages retrieved from `www.uclouvain.be`)." ], "previous_source": "", "target": [ "" ], "id_hash": 6760501375872000534, "content_hash": 6760501375872000534, "location": "../../exercises/http.rst:27", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 9, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 87, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35414/?format=api", "priority": 100, "id": 30324, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=ddd2202ec463e216", "url": "https://weblate.info.ucl.ac.be/api/units/30324/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.724102+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Compare the size of the http://www.yahoo.com and http://www.google.com web pages by downloading them with curl_." ], "previous_source": "", "target": [ "" ], "id_hash": 4254834947068200808, "content_hash": 4254834947068200808, "location": "../../exercises/http.rst:29", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 10, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 15, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35415/?format=api", "priority": 100, "id": 30325, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=bb0c35d75deb0768", "url": "https://weblate.info.ucl.ac.be/api/units/30325/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.753364+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "The `ipvfoo <https://code.google.com/p/ipvfoo/>`_ extension on google chrome allows the user to visually detect whether a website is using IPv6 and IPv4, but also to see which web sites have been contacted when rendering a given web page. Some websites are distributed over several dozens of different servers. Can you find one ?" ], "previous_source": "", "target": [ "" ], "id_hash": 3067829614978834823, "content_hash": 3067829614978834823, "location": "../../exercises/http.rst:31", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 11, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 52, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35416/?format=api", "priority": 100, "id": 30326, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=aa931ec7e03ca187", "url": "https://weblate.info.ucl.ac.be/api/units/30326/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.778057+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Some websites are reachable over both IPv4 and IPv6 while others are only reachable over IPv4 [#fv6only]_. You can use the `-6` (resp. `-4`) option to force curl_ to only use IPv6 (resp. IPv4). Verify that `www.computer-networking.info` is reachable over IPv6 and IPv4 and then check whether your university website already supports IPv6." ], "previous_source": "", "target": [ "" ], "id_hash": -1150738264680126050, "content_hash": -1150738264680126050, "location": "../../exercises/http.rst:33", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 12, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 53, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35417/?format=api", "priority": 100, "id": 30327, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=7007c1a5284aa99e", "url": "https://weblate.info.ucl.ac.be/api/units/30327/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.805014+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "curl_ supports a huge number of options and parameters that are described in its `man page <https://curl.haxx.se/docs/manpage.html>`_ Some of them allow you to force the utilization of a specific version of HTTP. These include `--http0.9`, `--http1.0`, `--http1.1` and `--http2`. Using the latter, verify whether your favorite website supports HTTP/2.0." ], "previous_source": "", "target": [ "" ], "id_hash": -5795759033968843103, "content_hash": -5795759033968843103, "location": "../../exercises/http.rst:35", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 13, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 49, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35418/?format=api", "priority": 100, "id": 30328, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=2f9153dda886a6a1", "url": "https://weblate.info.ucl.ac.be/api/units/30328/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.822940+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "As for the DNS, besides using software tools that implement the HTTP protocols, it can also be useful to analyze packet traces with wireshark_ . The exercises below contain simple packet traces collected with different versions of the HTTP protocol." ], "previous_source": "", "target": [ "" ], "id_hash": -8030306733405769500, "content_hash": -8030306733405769500, "location": "../../exercises/http.rst:37", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 14, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 40, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35419/?format=api", "priority": 100, "id": 30329, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=108e9e9285ebf0e4", "url": "https://weblate.info.ucl.ac.be/api/units/30329/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.859799+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "Footnotes" ], "previous_source": "", "target": [ "Notes de pied de page" ], "id_hash": 4927974446680086946, "content_hash": 4927974446680086946, "location": "../../exercises/http.rst:50", "context": "", "note": "", "flags": "", "state": 20, "fuzzy": false, "translated": true, "approved": false, "position": 15, "has_suggestion": false, "has_comment": false, "has_failing_check": true, "num_words": 1, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35420/?format=api", "priority": 100, "id": 30330, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=c463aea6549199a2", "url": "https://weblate.info.ucl.ac.be/api/units/30330/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.887264+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "The minimum command sent to a HTTP server is `GET / HTTP/1.0` followed by CRLF and a blank line." ], "previous_source": "", "target": [ "" ], "id_hash": -7099533042081020466, "content_hash": -7099533042081020466, "location": "../../exercises/http.rst:51", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 16, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 19, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35421/?format=api", "priority": 100, "id": 30331, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=1d7964502b9cc5ce", "url": "https://weblate.info.ucl.ac.be/api/units/30331/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.917059+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "This syllabus is now hosted on a web server using HTTPS (port 443) instead of HTTP (port 80)." ], "previous_source": "", "target": [ "" ], "id_hash": -7730782194527049831, "content_hash": -7730782194527049831, "location": "../../exercises/http.rst:53", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 17, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 18, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35422/?format=api", "priority": 100, "id": 30332, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=14b6be8db34ce799", "url": "https://weblate.info.ucl.ac.be/api/units/30332/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.947878+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "The list of available language tags can be found at http://www.iana.org/assignments/language-subtag-registry. Versions in other formats are available at http://www.langtag.net/registries.html. Additional information about the support of multiple languages in Internet protocols may be found in rfc5646_." ], "previous_source": "", "target": [ "" ], "id_hash": 5357212403518921669, "content_hash": 5357212403518921669, "location": "../../exercises/http.rst:55", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 18, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 35, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35423/?format=api", "priority": 100, "id": 30333, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=ca58a44c1a0fdbc5", "url": "https://weblate.info.ucl.ac.be/api/units/30333/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:01.979267+02:00" }, { "translation": "https://weblate.info.ucl.ac.be/api/translations/cnp3-ebook/exerciseshttp/fr/?format=api", "source": [ "There are probably very few websites that only support IPv6 and not IPv4. If you find one, let us know by submitting a pull-request to change this exercise." ], "previous_source": "", "target": [ "" ], "id_hash": 2000286975609063591, "content_hash": 2000286975609063591, "location": "../../exercises/http.rst:57", "context": "", "note": "", "flags": "", "state": 0, "fuzzy": false, "translated": false, "approved": false, "position": 19, "has_suggestion": false, "has_comment": false, "has_failing_check": false, "num_words": 28, "source_unit": "https://weblate.info.ucl.ac.be/api/units/35424/?format=api", "priority": 100, "id": 30334, "web_url": "https://weblate.info.ucl.ac.be/translate/cnp3-ebook/exerciseshttp/fr/?checksum=9bc272680604c8a7", "url": "https://weblate.info.ucl.ac.be/api/units/30334/?format=api", "explanation": "", "extra_flags": "", "pending": false, "timestamp": "2021-08-27T15:04:02.009204+02:00" } ] }{ "count": 19, "next": null, "previous": null, "results": [ { "translation": "