summary refs log tree commit diff stats
path: root/tests/stdlib/thttpclient.nim
Commit message (Collapse)AuthorAgeFilesLines
* azure: disable failing testsLeorize2019-10-031-2/+1
|
* Fix issue #10726 - HTTP response without Content-Length is not accessible ↵konradmb2019-08-081-28/+40
| | | | | | | | | | | | (#11904) * Add patch by @xenogenesi * Async test for HTTP/1.1 without Content-Length * Apply suggestions from code review Co-Authored-By: Dominik Picheta <dominikpicheta@googlemail.com>
* Appveyor thttpclient (#6744)Fredrik Høisæther Rasch2017-11-151-0/+1
| | | | | | * App option value for disabling tests for AppVeyor * Disable thttpclient on AppVeyor
* attempt to make travis green againAndreas Rumpf2017-11-051-0/+1
|
* attempt to make travis green againAraq2017-09-051-14/+18
|
* disable fragile parts of thttpclient.nimAndreas Rumpf2017-05-041-9/+11
|
* Implement dial, support IPv6 in httpclient (#5763)Ruslan Mustakov2017-05-021-2/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement dial, support IPv6 in httpclient Added ``dial`` procedure to networking modules: ``net``, ``asyncdispatch``, ``asyncnet``. It merges socket creation, address resolution, and connection into single step. When using ``dial``, you don't have to worry about IPv4 vs IPv6 problem. Fixed addrInfo loop in connect to behave properly. Previously it would stop on first non-immediate failure, instead of continuing and trying the remaining addresses. Fixed newAsyncNativeSocket to raise proper error if socket creation fails. Fixes: #3811 * Check domain during connect() only on non-Windows This is how it was in the previous implementation of connect(). * Call 'osLastError' before 'close' in net.dial * Record osLastError before freeAddrInfo in net.dial * Add missing docs for 'dial' proc * Optimize dial to create one FD per domain, add tests And make async IPv6 servers work on Windows. * Add IPv6 test to uri module * Fix getAddrString error handling
* Implement streamed async/sync downloadFile and deprecate old one.Dominik Picheta2017-02-111-2/+4
|
* Implement streamed body reading in httpclient.Dominik Picheta2017-02-111-1/+3
|
* Use onThreadCreation to set default SSL context for each thread (#5265)Ruslan Mustakov2017-01-231-1/+1
| | | Fixes: #4998
* Implements onProgressChanged callback for httpclient.Dominik Picheta2016-09-241-3/+22
|
* Implements getContent and postContent for (Async)HttpClient.Dominik Picheta2016-09-241-0/+19
|
* Handle redirects in HttpClient's post procs & post test.Dominik Picheta2016-09-241-18/+17
|
* Fixes #4797.Dominik Picheta2016-09-191-0/+4
|
* Implements proxy support for (Async)HttpClient. Ref #4423.Dominik Picheta2016-09-181-0/+6
| | | | Fixes #2160.
* Implements timeouts for synchronous HttpClient.Dominik Picheta2016-09-181-0/+13
|
* Improvements to httpclient. Refs #4423.Dominik Picheta2016-09-181-0/+53
* Adds ability to query HttpCode and compare it with strings. * Moves HttpMethod to HttpCore module. * Implements synchronous HttpClient using {.multisync.}.
' href='#n400'>400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704