Help for this page

Select Code to Download


  1. or download this
    sub send_json_data: Runmode {
      my $self = shift;
      $self->header_add(-type=>"application/json");
      ...
    }
    
  2. or download this
    sub _send_headers {
        my $self = shift;
    ...
            $self->header_add('-type' => 'text/javascript');
        }
    }