Skip to content

Commit

Permalink
Added the possibility to copy each header individually in Requests pa…
Browse files Browse the repository at this point in the history
…ge (#567)
  • Loading branch information
lpeyr committed May 20, 2024
1 parent 76d6127 commit d01c3c4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions InternetTest/InternetTest/Pages/RequestsPage.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,11 +96,10 @@ private async void ExecuteRequest()
var header = item.ToString().Split("=", 2);
if (header.Length < 2) continue;

HeadersPanel.Children.Add(new TextBlock() { Text = header[0], FontWeight = FontWeights.Bold, TextWrapping = TextWrapping.Wrap, Margin = new(0, 5, 0, 0) });
HeadersPanel.Children.Add(new TextBlock() { Text = header[1], TextWrapping = TextWrapping.Wrap });
HeadersPanel.Children.Add(new HeaderItem(header[0], header[1]));
}
}
catch { }
catch { }
}

private void UrlTxt_KeyUp(object sender, KeyEventArgs e)
Expand Down

0 comments on commit d01c3c4

Please sign in to comment.