Skip to content

Commit

Permalink
Fix incorrect Range values for 'large file uploads'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivaylo Mitrev authored and petterreinholdtsen committed Nov 27, 2023
1 parent 377b9ad commit e73a7fb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kapitler/06-konsepter_og_prinsipper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1460,8 +1460,8 @@ For å starte en opplastingssesjon:
filen i bolker.
#. Deretter overføres filen med en PUT-forespørsel. Responsen fra
serveren inneholder en Range-header, hvor øvre verdi benyttes som
start verdi i Content-Range i neste oversending.
serveren inneholder en Range-header, hvor øvre verdi pluss en
benyttes som start verdi i Content-Range i neste oversending.
Headeren Content-Range settes for å angi hvor mye av filen som
blir oversendt.
Expand Down Expand Up @@ -1518,7 +1518,7 @@ Last opp siste del:
PUT https://n5.example.com/api/arkivstruktur/Dokumentobjekt/a895c8ed-c15a-43f6-86de-86a626433785/referanseFil?filsesjon=abc1234567
Content-Length: 427136
Content-Type: image/jpeg
Content-Range: bytes 1572864-2000000/2000000
Content-Range: bytes 1572864-1999999/2000000
Respons: 201 Created
Expand Down

0 comments on commit e73a7fb

Please sign in to comment.