Releases: bluetianx/BirdMessenger
Releases · bluetianx/BirdMessenger
fix(HEAD request): throw exception if response is not 200 and not 204
Support zero length uploads
support TusException
Throw TusException contained OriginHttpRequest and OriginHttpResponse when statuscode of response is incorrect
fix: HttpHeaders not passed to all requests
Fix: HttpHeaders not passed to all requests, Issue
Support upload file with chunk again
- Support upload file with chunk again,you can check this Issue,demo code as follow
TusPatchRequestOption tusPatchRequestOption = new TusPatchRequestOption
{
FileLocation = resp.FileLocation,
Stream = fileStream,
UploadBufferSize = 2*1024*1024, // upload size ,default value is 1MB
UploadType = UploadType.Chunk, // setting upload file with Stream or chunk ,default value is Stream
};
var tusPatchResp = await tusClient.TusPatchAsync(tusPatchRequestOption, CancellationToken.None);
fix: package v3.0.0bata1 v3.0.0 and v3.0.1 do not contain latest code
fix: package v3.0.0bata1 v3.0.0 and v3.0.1 do not contain latest code
you can know the bug from the issue
Simple and fast
- Fewer external dependencies
- upload file with Httpclient directly
Simple and fast
- Fewer external dependencies
- upload file with Httpclient directly
Fix: miss invoke upload finish event method when the file finishes uploading by streaming
Fix: miss invoke upload finish event method when the file finishes uploading by streaming
Performance Improvement
Enhance
- Upload file with streaming ,Thanks @SebastianStehle
Feature
- Send Http request with custom Http header